﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HDVN5.Control
{
    public partial class DoanSinhTooltip : System.Web.UI.Page
    {
        private DonViNganh.DonViNganhDataContext db = new DonViNganh.DonViNganhDataContext();
        private DonViNganh.DOANSINH doansinh = null;
        protected void Page_Load(object sender, EventArgs e)
        {
            Int64 madoansinh = Convert.ToInt64(Request.QueryString["ID"].ToString());
            doansinh = db.DOANSINHs.SingleOrDefault(p => p.MADOANSINH ==madoansinh);
            DiaChi.Text = doansinh.DIACHI;
            SoDTNha.Text = doansinh.SODIENTHOAI;
            SoDTDD.Text = doansinh.SODIENTHOAIDD;
            Email.Text = doansinh.EMAIL;
            SoCMND.Text = doansinh.SOCMND;
            NoiCap.Text = doansinh.NOICAP;
            TenCha.Text = doansinh.HOTENCHA;
            SoDTLienLac.Text = doansinh.SODTCHA;
            TenMe.Text = doansinh.HOTENME;
            SoDTMe.Text = doansinh.SODTME;
        }
    }
}